using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.Practices.EnterpriseLibrary.Logging;

namespace B4ALL.Exceptions
{
    public class Logging
    {

        public static void AddLogEntry(String category, String l_message)
        {
            LogEntry entry = new LogEntry();
            entry.Categories.Add(category);
            entry.Message = l_message;

            Logger.Write(entry);
        }

    }
}
